package com.CST.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AccvouchWorkload {
    @ApiModelProperty("开票日期")
    @ExcelProperty("开票日期")
    private String dbillDate;

    @ApiModelProperty("凭证编号")
    @ExcelProperty("凭证编号")
    private String csignContact;

    @ApiModelProperty("摘要")
    @ExcelProperty("摘要")
    private String cdigest;

    @ApiModelProperty("制单人")
    @ExcelProperty("制单人")
    private String cbill;

    @ApiModelProperty("审核人")
    @ExcelProperty("审核人")
    private String ccheck;

    @ApiModelProperty("审核日期")
    @ExcelProperty("审核日期")
    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
    private String dauditDate;

    @ApiModelProperty("记账人")
    @ExcelProperty("记账人")
    private String cbook;

    @ApiModelProperty("分录数")
    @ExcelProperty("分录数")
    private Integer total;
}
